package com.hzdl.hotel.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;

@ToString
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class RoomBook {
    private String checkId;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GTM+8")
    private Date starttime;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GTM+8")
    private Date endtime;
    private String problem;
    private Integer hId;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GTM+8")
    private Date createtime;
    private String loginName;
    private String phone;
    private String hotelType;
    private Integer number;
    private Double payMoney;

    public String getCheckId() {
        return checkId;
    }

    public Date getStarttime() {
        return starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public String getProblem() {
        return problem;
    }

    public Integer gethId() {
        return hId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public String getLoginName() {
        return loginName;
    }

    public String getPhone() {
        return phone;
    }

    public String getHotelType() {
        return hotelType;
    }

    public Integer getNumber() {
        return number;
    }

    public Double getPayMoney() {
        return payMoney;
    }
}
